from django.urls import path
from . import views

urlpatterns = [
    path('', views.index, name='index'),
    path('dashboard/', views.dashboard, name='dashboard'),
    path('stress-overview/', views.status_overview, name='stress-overview'),
    path('displacement-overview/', views.status_overview, name='displacement-overview'),
    # path('map-view/', views.map_view, name='map-view'),
    # path('status-overview/', views.status_overview, name='status-overview'),
    path('stress-chart/', views.DataVisualizationView.as_view(), name='stress-chart'),
    # path('stress-chart/<str:parameter>/', views.DataVisualizationView.as_view(), name='stress-chart-param'),
    path('displacement-chart/', views.DataVisualizationView.as_view(), name='displacement-chart'),
    # path('displacement-chart/<str:parameter>/', views.DataVisualizationView.as_view(), name='displacement-chart-param'),
    path('seepage-chart/', views.DataVisualizationView.as_view(), name='seepage-chart'),
    path('seepage-chart/<str:parameter>/', views.DataVisualizationView.as_view(), name='seepage-chart-param'),
    path('temperature-chart/', views.DataVisualizationView.as_view(), name='temperature-chart'),
    path('temperature-chart/<str:parameter>/', views.DataVisualizationView.as_view(), name='temperature-chart-param'),
    path('sensor-list/', views.SensorListView.as_view(), name='sensor-list'),
    path('sensor-create/', views.SensorCreateView.as_view(), name='sensor-create'),
    path('gateway-list/', views.GatewayListView.as_view(), name='gateway-list'),
    path('maintenance/', views.MaintenanceView.as_view(), name='maintenance'),
    path('sensor-import-export/', views.SensorImportExportView.as_view(), name='sensor-import-export'),
]

